package com.hengtiansoft.lfy.constants;

/**
 * Created by Administrator on 2016/10/24.
 */

public class Constants {
    public static final String APK_NAME = "Longfanyi.apk";
    // 语音返回为空
    public static final String No_RESULT = "ZTSpeechRecognizer.No_RESULT";
    // 语音网络识别错误
    public static final String ZR_ERROR = "ZTSpeechRecognizer.ZR_ERROR";
    // 取消
    public static final String ZR_STOP_NULL = "ZTSpeechRecognizer.ZR_STOP_NULL";

    // 翻译
    public static final String TRANSLATE = "http://web1.dragonnova.cn:8080";

    // 龙翻译服务器
    public static final String SERVER_HOST = "http://web1.dragonnova.cn/lfy-api/";
//    public static final String SERVER_HOST = "http://58.210.52.235:11180/lfy-api/";
    // 龙翻译练习服务器
    public static final String SERVER_HOST_EX = "http://web1.dragonnova.cn/lfy-api/";
//    public static final String SERVER_HOST_EX = "http://58.210.52.235:11180/lfy-api/";

    //图片地址
    public static final String imageURL=SERVER_HOST+"images/";
    // 通过username获取好友列表地址
    public static final String FRIENDSLIST = SERVER_HOST + "FriendsListByname/";

    public static int PAGE_SIZE = 10;

    // 收藏地址
    public static final String AddCollect = SERVER_HOST + "AddCollect/";
    // 收藏按照id清理地址
    public static final String DeleteCollect = SERVER_HOST + "DeleteCollect/";
    // 登录地址
    public static final String LOGIN_URL = SERVER_HOST + "LoginV2/";
    // 第三方登录注册
    public static final String RegisterOtherUser = SERVER_HOST + "RegisterOtherUserV2/";
    // 注册地址
    public static final String RegisterUser_URL = SERVER_HOST + "RegisterUserV2/";
    // 注册地址TEMP环信聊天
    public static final String RegisterUser_URLTEMP = SERVER_HOST + "RegisterUser/";
    // Token地址
    public static final String GETTOKEN_URL = SERVER_HOST + "AppGetToken/";
    // 根据username获取信息
    public static final String getUserByUsername = SERVER_HOST + "getUserByUsername/";
    // 第三方登录通用密码
    public static final String THIRDLOGINPASSWORD = "huanxin123456";
    // 手机号码修改
    public static final String UpdateUserPhone = SERVER_HOST + "UpdateUserPhone/";
    // 验证验证码，修改密码
    public static final String ForgetPassword =SERVER_HOST + "ForgetPasswordV2";
    // 验证验证码，修改密码
    public static final String ForgetPassword_TEMP =SERVER_HOST + "ForgetPassword";
    // 更新密码
    public static final String UpdateUserPassword_TEMP = SERVER_HOST + "UpdateUserPassword/";
    // 更新密码
    public static final String UpdateUserPassword = SERVER_HOST + "UpdateUserPasswordV2/";
    // 群组头像获取
    public static final String getAllGroup = SERVER_HOST + "getAllGroup/";
    // 更新性别
    public static final String UpdateUserSex = SERVER_HOST + "UpdateUserSex/";
    // 群组头像更新
    public static final String AddChatCroupsImg = SERVER_HOST
            + "AddChatCroupsImg/";
    // 第三方登录注册TEMP 环信
    public static final String RegisterOtherUser_TEMP = SERVER_HOST
            + "RegisterOtherUser/";
    // 产品介绍
    public static final String GUIDEPHOTO = SERVER_HOST + "guidePhoto";
    /** 微信appid */
    public static String WEIXIN_APP_ID = "wxd588e5d3e98d6f87";
    public static String WEIXIN_APP_SECRET = "238b5abbabe6da15a0558599e07fa811";
    /** QQappid */
    public static String QQ_APP_ID = "1105000134";
    public static String QQ_APP_KEY = "omnVOEQgm60gnEVc";
    /**微博appid*/
    public static String SINA_APP_ID="2537899230";
    public static String SINA_APP_KEY="36409b5511bf3baef0620d5966027e1d";
    /**短信**/
    public static String SMS_APP_ID="13f9867ef4f14";
    public static String SMS_APP_KEY="108cc05e7400ae59480ead6a7de6df62";
    /**科大讯飞appid**/
    public static String MSC_APP_ID="56f10484";
    // 缓存路径
    public static String IMAGE_CACHE_PATH = "/longfanyi/Cache"; // 图片缓存路径

    public static final String EVALUATOR_MESSAGE = "evaluator_message";
    public static final String CHART_MESSAGE = "chart_message";
    public static final String NEW_FRIEND_MESSAGE = "new_friend_message";
    // 头像地址
    public static final String GETIMAGE = SERVER_HOST + "images/";
    // 更新个性签名
    public static final String UpdateUserSignature = SERVER_HOST
            + "UpdateUserSignature/";
    /**
     * 分享链接
     */
    public static final String SHARE_URL = "http://www.dragonnova.com/longfanyi2.0/download2.html";
    // 搜索好友地址
    public static final String SEARCHFRIENDS = SERVER_HOST + "SearchFriends/";
    // others
    public static final String NEW_FRIENDS_USERNAME = "item_new_friends";
    public static final String GROUP_USERNAME = "item_groups";
    public static final String CHAT_ROOM = "item_chatroom";
    public static final String MESSAGE_ATTR_IS_VOICE_CALL = "is_voice_call";
    public static final String MESSAGE_ATTR_IS_VIDEO_CALL = "is_video_call";
    public static final String ACCOUNT_REMOVED = "account_removed";
    public static final String CHAT_ROBOT = "item_robots";
    public static final String MESSAGE_ATTR_ROBOT_MSGTYPE = "msgtype";
    public static final String UPDATA_VERSION = "UPDATA_VERSION";
    public static final String CHATTRANSLATIONKINDS = "ChatTranslationKinds";
    public static final String INTERPREFERENCES = "InterPreferences";
    // volley
    public static final String LOGIN_SET = "login_set";
    public static final String COOKIE = "cookie";
    public static final String TOKEN = "token";
    // 成功
    public static final int SUCCESS = 0;
    // 失败
    public static final int FAILE = 1;
}
